package com.xingkeduo.dto.response;

import com.xingkeduo.dto.ShopsDaysDTO;
import com.xingkeduo.pojo.enums.OrderStatus;
import com.xingkeduo.utils.TableAnnotations;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author chi  2019-02-15 17:25
 **/
@Data
public class OrderUserDetailResponseDto {


    @TableAnnotations("详见 OrderStatus.class")
    private OrderStatus status = OrderStatus.NOT_PAY;

    @TableAnnotations("排队号")
    private String waitingLineNo;

    @TableAnnotations("预约发型师id")
    private String appointmentAdminId;

    @TableAnnotations("预约开始时间")
    private LocalDateTime appointmentStartTime;

    @TableAnnotations("验票码")
    private String ticketCode;

    @TableAnnotations("门店id")
    private String storeId;
    @TableAnnotations("门店name")
    private String storeName;

    @TableAnnotations("服务类型 1剪发 2刘海 3高级")
    private String serviceTypeName;

    @TableAnnotations("总金额")
    private BigDecimal allPrice;

    @TableAnnotations("订单号")
    private String orderNo;

    @TableAnnotations("支付时间")
    private LocalDateTime payTime;

    @TableAnnotations("支付方式")
    private String payTypeName;

    //营业时间
    private List<ShopsDaysDTO> daysList;

    @TableAnnotations("店铺地址")
    private String storeAdds;


    @TableAnnotations("服务类型 1剪发 2刘海 3高级")
    private String serviceTypeId;

    @TableAnnotations("微信支付第三方唯一标识 out_order_no（如果是支付宝支付的，就代表支付宝的商户订单号；如果是微信支付的，就代表微信的商户订单号）")
    private String outOrderNo;

}
